<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="../css/header.css" rel="stylesheet" type="text/css" />
<title>LOGO</title>
<style type="text/css">
#right {
	margin-top: -25px;
	margin-right: 20px;
}

img{ margin-left:50px;}
#right{color:#333;}
#right a {
	font-size: 16px;
	color: #fff;
}

#right a:hover {
	background-color: #fff;
	color:#2eb398;

}
</style>
</head>
<body>
<img src="../logo_035.png"/>
	<div align="right" id="right">
		<c:choose>
			<c:when test="${not empty sessionScope.user}">
				欢迎访问择优校后台管理，${user.username}
				<a href="${basePath}logout.do?id=${user.id}">注销</a>
			</c:when>
			<c:otherwise>
				<a href="${basePath}jsp/login.jsp" target="mainFrame">登录</a>
				<a href="${basePath}jsp/register.jsp" target="mainFrame">注册</a>
			</c:otherwise>
		</c:choose>
	</div>
</body>
</html>